import request from "@/utils/request";

/**
 * 分页查询聊天室
 * @param param
 * @returns {AxiosPromise}
 */
export function page(param) {
    return request({
        url: '/chat-room/page',
        method: 'get',
        params: param
    })
}

/**
 * 详情
 * @param param
 * @returns {AxiosPromise}
 */
 export function detail(uuid) {
    return request({
        url: '/chat-room/detail/' + uuid,
        method: 'get'
    })
}

